<%@tag description="Base Page template" pageEncoding="UTF-8" isELIgnored="false"%>
<%@attribute name="header" fragment="true" %>
<%@attribute name="footer" fragment="true" %>
<!DOCTYPE html>
<html>
<head>
<title>Umpires</title>
<base href="<%= request.getContextPath() %>/">
<script>contaxtPath = "<%= request.getContextPath() %>";</script>
<script src="static/shared/js/jquery.min.js" type="text/javascript"></script>
<script src="static/shared/js/kendo.all.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="static/shared/styles/kendo.default.min.css">
<link rel="stylesheet" href="static/shared/styles/kendo.common.min.css">
<link rel="stylesheet" href="static/shared/styles/ums.css">
<script type="text/javascript" src="static/shared/js/ums-common.js"></script>
</head>
<body>
	<div id="logoPanel">
		<div id="logo"><a href="s/umpires"><img src="static/image/Stta-logo-circle.png" /></a></div>
		<p id="systitle">Umpires Management System</p>
		<div id="auth">Welcome <%= ((sg.edu.nus.iss.umpire.domain.Umpire)session.getAttribute("userSession")).getName() %>! <a href="/s/logout">Log Out</a></div>
	</div>
	<header>
		<ul id="menu">
			<li>Umpires
				<ul>
					<li><a href="s/umpires">Umpire List</a></li>
					<li><a href="s/umpires/new">Add Umpire</a></li>
				</ul>
			</li>
			<li>Competitions
				<ul>
					<li><a href="s/competitions">Competition List</a></li>
					<li><a href="s/competitions/new">Add Competition</a></li>					
				</ul>
			</li>
		</ul>
	<div id="pageheader">
      <jsp:invoke fragment="header"/>
    </div>
	</header>
		
	<div id="content" class="k-content">
		<div id="body">
	      <jsp:doBody/>
	    </div>
	    <div id="pagefooter">
	      <jsp:invoke fragment="footer"/>
	    </div>
	</div>
	
</body>
</html>